/* register.css */

/* 基本页面样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* 注册容器样式 */
.register-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

/* 标题样式 */
.register-container h2 {
    margin-bottom: 20px;
    color: #333;
}

/* 输入框样式 */
.register-container input[type="text"],
.register-container input[type="password"],
.register-container input[type="number"],
.register-container select {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.register-container input[type="text"]:focus,
.register-container input[type="password"]:focus,
.register-container input[type="number"]:focus,
.register-container select:focus {
    border-color: #007bff;
    outline: none;
}

/* 提交按钮样式 */
.register-container input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-container input[type="submit"]:hover {
    background-color: #218838;
}

/* 登录链接样式 */
.login-link {
    margin-top: 20px;
}

.login-link a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 标签样式 */
.register-container label {
    display: block;
    text-align: left;
    margin-left: 10px;
    margin-bottom: 5px;
    color: #555;
}
